home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Developer Toolbox 6.1
/
SGI Developer Toolbox 6.1 - Disc 4.iso
/
public
/
Xpm
/
README
Wrap
Text File
|
1994-08-01
|
2KB
|
52 lines
~4Dgifts/toolbox/public/Xpm README
The Xpm subtree contains the Xpm library and pixmap, a pixmap editor.
As always, if you encounter problems building libraries/apps/etc.,
remember to backup and start over with:
% xmkmf
% make Makefile(s)
% make depend
% make
XPM library, Version 3
XPM (X PixMap) is a format for storing/retrieving X pixmaps to/from
files. The lib directory contains the Xpm library containing a set
of four functions, similar to the X bitmap functions as defined in Xlib:
XpmCreatePixmapFromData, XpmCreateDataFromPixmap, XpmReadFileToPixmap
and XpmWriteFileFromPixmap for respectively including, storing, reading
and writing this format, plus four others: XpmCreateImageFromData,
XpmCreateDataFromImage, XpmReadFileToImage and XpmWriteFileFromImage for
working with images instead of pixmaps.
This version provides a C-includable format, defaults for different
types of display--monochrome/color/grayscale--, hotspot coordinates and
symbol names for colors for overriding default colors when creating the
pixmap. It provides a mechanism for storing information while reading a
file which is re-used while writing. This way comments, default colors
and symbol names aren't lost. It also handles "transparent pixels" by
returning a shape mask in addition to the created pixmap.
Pixmap version 2.0 R4/R5 version
pixmap, a pixmap editor based on XPM version 3.2 library, is similar to
the bitmap editor. As with Bitmap, it provides facilities to edit
pixmaps stored in files in XPM 3.2 format.
The pixmap program is a tool for creating or editing rectangular images
made up of colored pixels, i.e., pixmaps. Pixmaps are intensively used
in X to define window backgrounds, icon images, etc.
The pixmap program can have two different interfaces, a Athena widgets
version and a Motif widgets version.
The XPM library is necessary to compile pixmap with.